package com.dieusoft.box.trade.service;

import com.dieusoft.box.trade.entity.CostInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 费用明细信息表
 * @Author: jeecg-boot
 * @Date: 2020-10-22
 * @Version: V1.0
 */
public interface ICostInfoService extends IService<CostInfo> {

    public List<CostInfo> selectByMainId(String mainId, String type);

    public List<CostInfo> selectByBillNumber(String billNumber);

    List<CostInfo> getCostInfosByIds(List<String> list);

    boolean updateByBillNumber(String billNumber, String updateUser, String status, String invoiceNumber);

    boolean resetByBillNumber(String billNumber, String updateUser, String status, String invoiceNumber);


    boolean deleteByMainIdAndType(List<String> list);
}
